package com.example.module_word.room.entity;

import androidx.room.Entity;
import androidx.room.PrimaryKey;


@Entity
public class JiHua {
    @PrimaryKey(autoGenerate = true)
    public int id;
    public String kind;//书类型
    public long start_time;  //学习的起始时间
    public long end_time;  //学习的结束时间
    public long count; //单词数量
    public int day;//签到天数
    public boolean isSelect; //是否被选中

    public JiHua(String kind, long start_time, long end_time, long count, int day, boolean isSelect) {
        this.kind = kind;
        this.start_time = start_time;
        this.end_time = end_time;
        this.count = count;
        this.day = day;
        this.isSelect = isSelect;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public long getStart_time() {
        return start_time;
    }

    public void setStart_time(long start_time) {
        this.start_time = start_time;
    }

    public long getEnd_time() {
        return end_time;
    }

    public void setEnd_time(long end_time) {
        this.end_time = end_time;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }
}
